<%@ page language="java" import="java.util.*,com.hs.auth.model.*,com.hs.online.*,com.hs.auth.*" pageEncoding="utf-8"%>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
<head>
<%@ include file="../include1.jsp"%>  
<script src="<%=basePath %>common/javascript/common.js"></script> 
<script language="javascript" type="text/javascript" src="<%=path %>/thirtpart/My97DatePicker/WdatePicker.js"></script>
<script>
function dnmsab(){
	window.parent.cont.frameElement.src = "";


}

function generalsearch(flag){
    var onesql = "";
	if("2" == flag){
		var win = document.getElementById('resultlist').contentWindow;
		onesql = win.document.getElementById('onesql').value;
	}  
	var colname = document.getElementById("colname").value;
	var colvalue = document.getElementById("keyword").value;
	var datarange = getRadioValue("datarange"); 
	
	if(isNull(colvalue)){
		alert("检索条件不能为空!");
		document.getElementById("keyword").focus();
	    return;
	}
	onestr = "?colname="+colname +"&keyword="+colvalue+"&datarange="+datarange;
	if(onesql !=null && onesql!=""){
		onestr = onestr + "&onesql=" + encodeURIComponent(onesql);
	}
	document.getElementById("resultlist").src="<%=basePath %>muti/doSearch.do"+onestr;  
}
function resetAll(){
 	var   obj   =   document.all.tags("input"); 
	for(i=0;i <obj.length;i++){ 
	    if(obj[i].type== "text"){ 
	            obj[i].value   =   ""; 
	    } 
	}
 
}
</script>
 
</head>

<body>
<div class="content">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="sear">
  <tr>
    <td width="12%" height="40">检索项：
        <select name="colname" id="colname" style="width:60%">
          <option value="disname">中医病名</option>
          <option value="disnamen">西医病名</option>
          <option value="herbname">中药名称</option>
          <option value="paraname">并发症</option>
          <option value="point">穴位</option>
          <option value="prename">方剂</option>
          <option value="symname">证候</option>
          <option value="maganame">期刊标题</option>
          <option value="bookname">书籍名称</option>
        </select>
    </td>
    <td width="30%">
        <input type="text" value="" name="keyword" id="keyword" style="width:90%" /> 
     </td>
     <td width="8%">出版时间</td>
     <td width="10%"><input type="text" class="Wdate" id="startdate" value="" style="width:97%;vertical-align:middle" name="startdate"  onFocus="WdatePicker({el:'startdate',dateFmt:'yyyy'})"  /></td>
     <td width="2%">-</td>
     <td width="10%"><input type="text" class="Wdate" id="enddate" value="" style="width:97%;vertical-align:middle" name="enddate"  onFocus="WdatePicker({el:'enddate',dateFmt:'yyyy'})"  /></td>
     <td width="28%">
     <input   type="button" class="butto" value="检索" onclick="generalsearch('');"/><input   type="button" class="butto" onclick="resetAll();" value="清空"/><input onclick="generalsearch('2');" type="button" class="butto" value="二次检索"/></td>
  </tr>
  <tr>
    <td height="35" colspan=7 align="left"><font size=4 size=red><strong><span id="xiandaistr"></span>&nbsp;&nbsp;&nbsp;&nbsp; <span id="gudaistr"></span></strong><br /></font></td>
  </tr>
  
</table>
<div class="display_mode">
	<div class="keyword"><b>多囊卵巢综合征</b></div> 
    <font size=3><span id=allnum></span></font>
   
    <b>检索范围:</b><input name="datarange" id="datarange" type="radio"  value="0" checked/>全部  &nbsp;&nbsp;&nbsp;
    <input name="datarange" id="datarange" type="radio" value="1" /> 现代文献 &nbsp;&nbsp;&nbsp;<input name="datarange" id="datarange" type="radio" value="2" /> 古代文献
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     <font size=3><strong><a href="javaScript:openwindow('<%=basePath %>muti/dataminemodernList.do','1024','768','');">现代数据挖掘信息</a></strong></font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <font size=3><strong><a href="javaScript:openwindow('<%=basePath %>muti/datamineoldList.do','1024','768','');">古代数据挖掘信息</a></strong></font>
     
</div>
<div class="iframe_area">
	<iframe src="<%=basePath %>muti/doSearch.do" frameborder="0" id="resultlist"  ></iframe>
</div>
</div>
</body>
</html>
<script language=javascript>
var MS = "IE";
if(navigator.userAgent.indexOf("Firefox") > 0) {
    MS = "FF";
}
if (document.getElementById("resultlist")!=null) {   
     if (document.documentElement.clientHeight > 200) {
        document.getElementById("resultlist").style.height = document.documentElement.clientHeight - 140 + "px";
     }
}
 

</script>